home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / ChipCD_1.03.iso / oddech / bsen / BSinstall.exe / BecheruvSen.exe / scripts / DefineButton2_1780 / BUTTONCONDACTION on(release).as next >
Text File  |  2002-11-01  |  1KB  |  59 lines

  1. on(release){
  2.    if(_root.poz == "f")
  3.    {
  4.       if(_root.dverepantata._currentframe == 1)
  5.       {
  6.          if(_root.ii17 < 2)
  7.          {
  8.             _root.stopdragall();
  9.             _root.hideall();
  10.             _root.pes.gotoAndStop("vrceni");
  11.          }
  12.          else
  13.          {
  14.             _root.stopdragall();
  15.             _root.dverepantata.gotoAndStop(2);
  16.             _root.ic_none();
  17.             _root.set_info(75);
  18.             _root.ic_pusa();
  19.          }
  20.       }
  21.       else if(_root.draglej == 19)
  22.       {
  23.          _root.stopdragall();
  24.          _root.hideall();
  25.          if(0 < _root.ii16)
  26.          {
  27.             _root.d_pnaves.i = "m323_1";
  28.          }
  29.          else
  30.          {
  31.             _root.d_pnaves.i = "m322_1";
  32.          }
  33.       }
  34.       else if(_root.draglej == 11)
  35.       {
  36.          _root.stopdragall();
  37.          _root.hideall();
  38.          _root.d_pnaves.i = "item_n11";
  39.       }
  40.       else if(0 < _root.draglej)
  41.       {
  42.          _root.stopdragall();
  43.          _root.hideall();
  44.          _root.d_pnaves.i = "item_bad";
  45.       }
  46.       else
  47.       {
  48.          _root.stopdragall();
  49.          _root.hideall();
  50.          _root.d_pnaves.i = "start";
  51.       }
  52.    }
  53.    else
  54.    {
  55.       _root.stopdragall();
  56.       _root.pepa.gotoAndPlay(_root.poz add "f");
  57.    }
  58. }
  59.